<template>
  <div>
    <div>
      <label class="fs-3 ms-2">标签:</label>
      <el-tag
        v-for="(tag, index) in selectTags"
        :key="index"
        :type="tagColor[index]"
       
      >
        {{ tag.tagName }}
      </el-tag>
    </div>
  </div>
</template>

<script>
export default {
  name: "NoteDetailTag",
  props: { selectTags: Array },
  data() {
    return {
      tagColor: ["", "success", "info", "warning", "danger"],
    };
  },
};
</script>

<style>
</style>